package com.yjx.util;

import com.yjx.vo.ResourceVo;

import java.util.List;

public class ResourceUtil {

    public static Boolean checkResource(String path, List<ResourceVo> resourceList){
        Boolean result=false;
        for (ResourceVo resource : resourceList) {
            if (path.equals(resource.getResourceUrl())) {
                result=true;
                return result;
            }
        }
        return result;
    }
}
